package com.bootdo.order.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @Desc 订单费率
 * @date 2019/12/16
 *
 */
public class OrderPayDO implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键
    private Long id;
    // 平台订单号
    private String orderId;
    //商户自定义单号
    private String orderNo;
    //商户id
    private Long merchantId;
    //支付类型（1：支付宝，2：微信，3：支付宝转账）
    private Integer payType;
    //订单金额
    private Double orderMoney;
    //实际支付金额
    private Double actualMoney;
    //总手续费
    private Double countMoney;
    //平台利润
    private Double platformMoney;
    //商户代理手续费
    private Double merchantMoney;
    //收款户id
    private Long payeeId;
    //收款户佣金
    private Double payeeMoney;
    //收款户应上缴金额
    private Double payeeTurn;
    //收款户代理佣金
    private Double payeeAgentMoney;
    //收款户代理应上缴金额
    private Double payeeAgentTurn;
    //收款户二维码
    private String payeeCode;
    //创建时间
    private Date gmtCreate;
    //订单状态（1：未付款，2：已付款，3：申诉中，4：已失效，5：已完成）
    private Integer status;


    //商户/收款户手机号码
    private String mobile;
    //商户名称
    private String merchantName;
    //商户代理id
    private Long merchantAgentId;
    //商户代理名称
    private String merchantAgentName;

    //收款户组长
    private String remarks;
    //收款户名称
    private String payeeName;
    //收款户代理id
    private Long payeeAgentId;
    //收款户代理名称
    private String payeeAgentName;

    // 审核状态
    private Integer receiptStatus;
    //追回原因
    private String reason;

    //订单排序号
    private Integer sort;


    //app查询使用
    private String startTime;
    private String endTime;
    private String deviceId;
    private Integer offset;
    private Integer limit;

    //收款码真实姓名
    private String qrCodeRealName;

    //收款码账号或者吱口令
    private String payAccountPassword;

    /**
     * 设置：主键
     */
    public void setId(Long id) {
        this.id = id;
    }
    /**
     * 获取：主键
     */
    public Long getId() {
        return id;
    }
    /**
     * 设置：
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    /**
     * 获取：
     */
    public String getOrderId() {
        return orderId;
    }
    /**
     * 设置：商户id
     */
    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }
    /**
     * 获取：商户id
     */
    public Long getMerchantId() {
        return merchantId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * 设置：支付类型（1：支付宝，2：微信，3：支付宝转账）
     */
    public void setPayType(Integer payType) {
        this.payType = payType;
    }
    /**
     * 获取：支付类型（1：支付宝，2：微信，3：支付宝转账）
     */
    public Integer getPayType() {
        return payType;
    }
    /**
     * 设置：订单金额
     */
    public void setOrderMoney(Double orderMoney) {
        this.orderMoney = orderMoney;
    }
    /**
     * 获取：订单金额
     */
    public Double getOrderMoney() {
        return orderMoney;
    }
    /**
     * 设置：实际支付金额
     */
    public void setActualMoney(Double actualMoney) {
        this.actualMoney = actualMoney;
    }
    /**
     * 获取：实际支付金额
     */
    public Double getActualMoney() {
        return actualMoney;
    }
    /**
     * 设置：总手续费
     */
    public void setCountMoney(Double countMoney) {
        this.countMoney = countMoney;
    }
    /**
     * 获取：总手续费
     */
    public Double getCountMoney() {
        return countMoney;
    }

    public Double getPlatformMoney() {
        return platformMoney;
    }

    public void setPlatformMoney(Double platformMoney) {
        this.platformMoney = platformMoney;
    }

    /**
     * 设置：商户代理手续费
     */
    public void setMerchantMoney(Double merchantMoney) {
        this.merchantMoney = merchantMoney;
    }
    /**
     * 获取：商户代理手续费
     */
    public Double getMerchantMoney() {
        return merchantMoney;
    }
    /**
     * 设置：收款户id
     */
    public void setPayeeId(Long payeeId) {
        this.payeeId = payeeId;
    }
    /**
     * 获取：收款户id
     */
    public Long getPayeeId() {
        return payeeId;
    }
    /**
     * 设置：收款户佣金
     */
    public void setPayeeMoney(Double payeeMoney) {
        this.payeeMoney = payeeMoney;
    }
    /**
     * 获取：收款户佣金
     */
    public Double getPayeeMoney() {
        return payeeMoney;
    }
    /**
     * 设置：收款户应上缴金额
     */
    public void setPayeeTurn(Double payeeTurn) {
        this.payeeTurn = payeeTurn;
    }
    /**
     * 获取：收款户应上缴金额
     */
    public Double getPayeeTurn() {
        return payeeTurn;
    }
    /**
     * 设置：收款户代理佣金
     */
    public void setPayeeAgentMoney(Double payeeAgentMoney) {
        this.payeeAgentMoney = payeeAgentMoney;
    }
    /**
     * 获取：收款户代理佣金
     */
    public Double getPayeeAgentMoney() {
        return payeeAgentMoney;
    }
    /**
     * 设置：收款户代理应上缴金额
     */
    public void setPayeeAgentTurn(Double payeeAgentTurn) {
        this.payeeAgentTurn = payeeAgentTurn;
    }
    /**
     * 获取：收款户代理应上缴金额
     */
    public Double getPayeeAgentTurn() {
        return payeeAgentTurn;
    }
    /**
     * 设置：创建时间
     */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
    /**
     * 获取：创建时间
     */
    public Date getGmtCreate() {
        return gmtCreate;
    }
    /**
     * 设置：订单状态（1：未付款，2：已付款，3：申诉中，4：已失效，5：已完成）
     */
    public void setStatus(Integer status) {
        this.status = status;
    }
    /**
     * 获取：订单状态（1：未付款，2：已付款，3：申诉中，4：已失效，5：已完成）
     */
    public Integer getStatus() {
        return status;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public Long getMerchantAgentId() {
        return merchantAgentId;
    }

    public void setMerchantAgentId(Long merchantAgentId) {
        this.merchantAgentId = merchantAgentId;
    }

    public String getMerchantAgentName() {
        return merchantAgentName;
    }

    public void setMerchantAgentName(String merchantAgentName) {
        this.merchantAgentName = merchantAgentName;
    }

    public String getPayeeName() {
        return payeeName;
    }

    public void setPayeeName(String payeeName) {
        this.payeeName = payeeName;
    }

    public Long getPayeeAgentId() {
        return payeeAgentId;
    }

    public void setPayeeAgentId(Long payeeAgentId) {
        this.payeeAgentId = payeeAgentId;
    }

    public String getPayeeAgentName() {
        return payeeAgentName;
    }

    public void setPayeeAgentName(String payeeAgentName) {
        this.payeeAgentName = payeeAgentName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getReceiptStatus() {
        return receiptStatus;
    }

    public void setReceiptStatus(Integer receiptStatus) {
        this.receiptStatus = receiptStatus;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getPayeeCode() {
        return payeeCode;
    }

    public void setPayeeCode(String payeeCode) {
        this.payeeCode = payeeCode;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }



    public String getQrCodeRealName() {
        return qrCodeRealName;
    }

    public void setQrCodeRealName(String qrCodeRealName) {
        this.qrCodeRealName = qrCodeRealName;
    }

    public String getPayAccountPassword() {
        return payAccountPassword;
    }

    public void setPayAccountPassword(String payAccountPassword) {
        this.payAccountPassword = payAccountPassword;
    }

    @Override
    public String toString() {
        return "OrderPayDO{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", orderNo='" + orderNo + '\'' +
                ", merchantId=" + merchantId +
                ", payType=" + payType +
                ", orderMoney=" + orderMoney +
                ", actualMoney=" + actualMoney +
                ", countMoney=" + countMoney +
                ", platformMoney=" + platformMoney +
                ", merchantMoney=" + merchantMoney +
                ", payeeId=" + payeeId +
                ", payeeMoney=" + payeeMoney +
                ", payeeTurn=" + payeeTurn +
                ", payeeAgentMoney=" + payeeAgentMoney +
                ", payeeAgentTurn=" + payeeAgentTurn +
                ", gmtCreate=" + gmtCreate +
                ", status=" + status +
                ", mobile='" + mobile + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", merchantAgentId=" + merchantAgentId +
                ", merchantAgentName='" + merchantAgentName + '\'' +
                ", payeeName='" + payeeName + '\'' +
                ", payeeAgentId=" + payeeAgentId +
                ", payeeAgentName='" + payeeAgentName + '\'' +
                ", receiptStatus=" + receiptStatus +
                ", reason=" + reason +
                ", remarks=" + remarks +
                ", payeeCode=" + payeeCode +
                ", sort=" + sort +
                ", payAccountPassword=" + payAccountPassword +
                ", qrCodeRealName=" + qrCodeRealName +
                '}';
    }
}
